package com.springboot.codeminestarter.codemine.business.role.dao;

import com.springboot.codeminestarter.codemine.business.role.domain.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleDao {

    List<SysRole> getRoleList();

    List<SysRole> getRoleListByUserId(String userId);

    void addRole (SysRole role);
}
